<?php
/**
 * Created by PhpStorm.
 * User: chenx
 * Date: 18-2-25
 * Time: 下午9:04
 */

namespace backend\models;


use yii\db\ActiveRecord;

class Menu extends ActiveRecord
{
     public static function tableName()
    {
        return 'menu';
    }

    public function rules()
    {
        return [

        ];
    }

    public function attributeLabels()
    {
        return [
            'menu_id'=>	'自动增量	' ,
            'menu_name'	=>'权限标志符名称',
            'parent_code'=>'父级code',
            'name_code'	=>'权限标志唯一编码',
            'name_mech'	=>'权限机构分组',
            'created_at'=>'创建时间',
            'updated_at'=>'更新时间',
            'operation'=>'操作',
            'controller'=>'控制器和方法',
        ];
    }

}